$(function () {
    $(".supInformation").on({
        click:function () {
            var obj = $(this);
            window.location.href=getPath() + "/JSP/sup.go?method=supInformation&supId=" + obj.attr("supId");
        }
    })
    $(".updateSup").on({
        click:function () {
            var obj = $(this);
            window.location.href=getPath() + "/JSP/sup.go?method=updateSup&supId=" + obj.attr("supId");
        }
    })
    $(".deleteSup").on({
        click:function () {
            if(confirm("确定要删除该用户吗")){
                var obj = $(this);
                window.location.href=getPath() + "/JSP/sup.go?method=deleteSup&supId=" + obj.attr("supId");
            }
        }
    })
})